package cn.kgc.mapper;

import cn.kgc.entity.DataDictionary;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DataDictionaryMapper extends Mapper<DataDictionary> {

    @Select("select * from data_dictionary where type_code=#{type_code}")
    List<DataDictionary> selectByType(String typeCode);
}
